<template>
  <header class="bar bar-nav">
    <a class="button button-link button-nav pull-left" href="index.html" style="margin-left:0;" v-link="{path: path, replace: true}">
		<span class="icon icon-left size-14 color-white"></span>
	</a>
	<a v-if="refresh" class="button button-link button-nav pull-right" href="javascript:location.reload();" style="margin-right:0;">
		<span class="icon icon-refresh size-14 color-white"></span>
	</a>
	<h1 class="title color-white">{{title}}</h1>
  </header>
</template>

<script>
export default {
  props: [
    'title',
    'path',
    'refresh'
  ]
}
</script>